Skip to content

lib: Do not convert EVPN prefixes into IPv4/IPv6 if not needed#15416

Merged
riw777 merged 1 commit intoFRRouting:stable/9.1from
opensourcerouting:fix/backport_ee1c3c5518b1fb5b3989b80f8bd71ad2c2bc049a
Feb 27, 2024
Merged

lib: Do not convert EVPN prefixes into IPv4/IPv6 if not needed#15416
riw777 merged 1 commit intoFRRouting:stable/9.1from
opensourcerouting:fix/backport_ee1c3c5518b1fb5b3989b80f8bd71ad2c2bc049a

Conversation

@ton31337
Copy link
Member

Replacing #15413

Convert only when this is really needed, e.g. `match ip address prefix-list ...`.

Otherwise, we can't have mixed match clauses, like:

```
match ip address prefix-list p1
match evpn route-type prefix
```

This won't work, because the prefix is already converted, and we can't extract
route type, vni, etc. from the original EVPN prefix.

Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit 439b739)
Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@riw777 riw777 merged commit 4c16604 into FRRouting:stable/9.1 Feb 27, 2024
@ton31337 ton31337 deleted the fix/backport_ee1c3c5518b1fb5b3989b80f8bd71ad2c2bc049a branch February 27, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants